* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }
        
        /* 页面基础样式 */
        body {
            background-color: #f8fafc;
            color: #334155;
            overflow-x: hidden;
            display: flex;
            min-height: 100vh;
        }
        
        /* 侧边导航栏 - 固定定位 */
        .sidebar {
            width: 260px;
            background: linear-gradient(135deg, #1e293b, #0f172a);
            color: #e2e8f0;
            padding: 25px 0;
            display: flex;
            flex-direction: column;
            box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            z-index: 100;
            position: fixed; /* 固定定位 */
            top: 0;
            bottom: 0;
            left: 0;
        }
        
        .brand {
            padding: 0 25px 25px;
            display: flex;
            align-items: center;
            border-bottom: 1px solid rgba(226, 232, 240, 0.1);
            margin-bottom: 20px;
        }
        
        .brand-logo {
            width: 42px;
            height: 42px;
            background: linear-gradient(135deg, #6366f1, #4f46e5);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            font-size: 20px;
            color: white;
        }
        
        .brand-name {
            font-size: 22px;
            font-weight: 700;
            letter-spacing: 0.5px;
        }
        
        .nav-menu {
            list-style: none;
            padding: 0 15px;
            flex-grow: 1;
        }
        
        .nav-item {
            padding: 14px 20px;
            margin-bottom: 8px;
            border-radius: 10px;
            cursor: pointer;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .nav-item:hover {
            background-color: rgba(226, 232, 240, 0.08);
        }
        
        .nav-item.active {
            background: linear-gradient(90deg, #4f46e5, #6366f1);
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
        }
        
        .nav-icon {
            margin-right: 15px;
            font-size: 20px;
            width: 24px;
            text-align: center;
        }
        
        .nav-text {
            font-size: 16px;
            font-weight: 500;
        }
        
        .user-panel {
            padding: 20px;
            border-top: 1px solid rgba(226, 232, 240, 0.1);
            display: flex;
            align-items: center;
        }
        
        .user-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: linear-gradient(135deg, #f59e0b, #ef4444);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            margin-right: 12px;
        }
        
        .user-info {
            flex: 1;
        }
        
        .user-name {
            font-weight: 600;
            margin-bottom: 3px;
        }
        
        .user-role {
            font-size: 13px;
            color: #94a3b8;
        }
        
        /* 主内容区 - 添加左边距适配固定侧边栏 */
        .main-content {
            flex: 1;
            padding: 30px;
            overflow-y: auto;
            margin-left: 260px; /* 与侧边栏宽度一致 */
            width: calc(100% - 260px); /* 确保宽度正确 */
        }
        
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }
        
        .page-title {
            font-size: 28px;
            font-weight: 700;
            color: #1e293b;
            display: flex;
            align-items: center;
        }
        
        .page-title i {
            margin-right: 12px;
            color: #4f46e5;
        }
        
        .header-actions {
            display: flex;
            gap: 15px;
        }
        
        .btn {
            height: 42px;
            padding: 0 22px;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-size: 15px;
            font-weight: 500;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }
        
        .btn i {
            margin-right: 8px;
            font-size: 16px;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #4f46e5, #6366f1);
            color: white;
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(79, 70, 229, 0.35);
        }
        
        .btn-outline {
            background: transparent;
            border: 1px solid #cbd5e1;
            color: #475569;
        }
        
        .btn-outline:hover {
            background-color: #f1f5f9;
        }
        
        /* 统计卡片 */
        .stats-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .stat-card {
            background: white;
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.03);
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
        }
        
        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 25px rgba(0, 0, 0, 0.07);
        }
        
        .stat-icon {
            width: 60px;
            height: 60px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            font-size: 26px;
            color: white;
        }
        
        .stat-info {
            flex: 1;
        }
        
        .stat-value {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 5px;
            color: #1e293b;
        }
        
        .stat-label {
            font-size: 15px;
            color: #64748b;
        }
        
        /* 过滤栏 */
        .filter-bar {
            background: white;
            padding: 20px;
            margin-bottom: 30px;
            border-radius: 16px;
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.03);
            border: 1px solid #e2e8f0;
        }
        
        .filter-form {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            align-items: center;
        }
        
        .filter-group {
            flex: 1;
            min-width: 200px;
        }
        
        .filter-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #475569;
            font-size: 14px;
        }
        
        .filter-control {
            width: 100%;
            height: 46px;
            padding: 0 16px;
            border: 1px solid #cbd5e1;
            border-radius: 12px;
            background: white;
            font-size: 15px;
            transition: all 0.3s;
            color: #334155;
        }
        
        .filter-control:focus {
            border-color: #818cf8;
            box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.15);
            outline: none;
        }
        
        /* 评论列表 */
        .comments-container {
            background: white;
            border-radius: 16px;
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.03);
            overflow: hidden;
            border: 1px solid #e2e8f0;
        }
        
        .comments-header {
            padding: 20px 25px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .section-title {
            font-size: 20px;
            font-weight: 600;
            color: #1e293b;
        }
        
        .comments-list {
            list-style: none;
        }
        
        .comment-item {
            padding: 25px;
            border-bottom: 1px solid #e2e8f0;
            transition: all 0.3s;
        }
        
        .comment-item:hover {
            background-color: #f8fafc;
        }
        
        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
        }
        
        .user-info-container {
            display: flex;
            align-items: center;
        }
        
        .comment-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: linear-gradient(135deg, #3b82f6, #60a5fa);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            margin-right: 15px;
        }
        
        .comment-user {
            font-weight: 600;
            margin-bottom: 4px;
            color: #1e293b;
        }
        
        .comment-date {
            font-size: 13px;
            color: #94a3b8;
        }
        
        .rating {
            display: flex;
            align-items: center;
            background: rgba(234, 179, 8, 0.1);
            padding: 6px 12px;
            border-radius: 20px;
            font-weight: 600;
            color: #b45309;
        }
        
        .rating i {
            margin-right: 5px;
            color: #f59e0b;
        }
        
        .product-info {
            display: flex;
            align-items: center;
            margin: 15px 0 20px;
            padding: 15px;
            background-color: #f1f5f9;
            border-radius: 12px;
        }
        
        .product-image {
            width: 70px;
            height: 70px;
            border-radius: 10px;
            background: linear-gradient(135deg, #8b5cf6, #a78bfa);
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
        }
        
        .product-details {
            flex: 1;
        }
        
        .product-name {
            font-weight: 600;
            margin-bottom: 5px;
            color: #334155;
        }
        
        .product-category {
            font-size: 14px;
            color: #64748b;
            background: rgba(100, 116, 139, 0.1);
            padding: 4px 10px;
            border-radius: 20px;
            display: inline-block;
        }
        
        .comment-content {
            line-height: 1.7;
            color: #475569;
            margin-bottom: 20px;
        }
        
        .comment-actions {
            display: flex;
            justify-content: flex-end;
            gap: 12px;
        }
        
        .action-btn {
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            border: 1px solid transparent;
        }
        
        .action-btn i {
            margin-right: 6px;
        }
        
        .btn-reply {
            background-color: #e0f2fe;
            color: #0369a1;
            border-color: #bae6fd;
        }
        
        .btn-reply:hover {
            background-color: #bae6fd;
        }
        
        .btn-delete {
            background-color: #fee2e2;
            color: #b91c1c;
            border-color: #fecaca;
        }
        
        .btn-delete:hover {
            background-color: #fecaca;
        }
        
        .btn-edit {
            background-color: #dcfce7;
            color: #15803d;
            border-color: #bbf7d0;
        }
        
        .btn-edit:hover {
            background-color: #bbf7d0;
        }
        
        /* 分页 */
        .pagination {
            padding: 25px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .pagination button {
            width: 38px;
            height: 38px;
            margin: 0 5px;
            border-radius: 10px;
            border: 1px solid #cbd5e1;
            background: white;
            color: #475569;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }
        
        .pagination button:hover {
            background-color: #f1f5f9;
            border-color: #94a3b8;
        }
        
        .pagination button.active {
            background: linear-gradient(135deg, #4f46e5, #6366f1);
            color: white;
            border-color: #4f46e5;
        }
        
        /* 页面内容容器 */
        .page-content {
            display: none;
            animation: fadeIn 0.4s ease-out;
        }
        
        .page-content.active {
            display: block;
        }
        
        /* 数据概览页样式 */
        .dashboard-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 30px;
        }
        
        .chart-card {
            background: white;
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.03);
            border: 1px solid #e2e8f0;
        }
        
        .chart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .chart-title {
            font-size: 18px;
            font-weight: 600;
            color: #1e293b;
        }
        
        .chart-container {
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8fafc;
            border-radius: 12px;
            color: #94a3b8;
            font-size: 16px;
        }
        
        /* 商品管理页样式 */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
        }
        
        .product-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            border: 1px solid #e2e8f0;
            transition: all 0.3s;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .product-image-lg {
            height: 180px;
            background: linear-gradient(135deg, #8b5cf6, #a78bfa);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 64px;
        }
        
        .product-body {
            padding: 20px;
        }
        
        .product-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
            color: #1e293b;
        }
        
        .product-meta {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
        }
        
        .product-price {
            font-weight: 700;
            color: #4f46e5;
            font-size: 20px;
        }
        
        .product-stock {
            background: #dcfce7;
            color: #15803d;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 500;
        }
        
        .product-actions {
            display: flex;
            gap: 10px;
        }
        
        .product-btn {
            flex: 1;
            padding: 10px;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .btn-edit-product {
            background: #e0f2fe;
            color: #0369a1;
        }
        
        .btn-delete-product {
            background: #fee2e2;
            color: #b91c1c;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .sidebar {
                width: 80px;
            }
            
            .brand-name, .nav-text, .user-info {
                display: none;
            }
            
            .brand {
                justify-content: center;
                padding: 0 15px 25px;
            }
            
            .nav-item {
                justify-content: center;
                padding: 16px;
            }
            
            .nav-icon {
                margin-right: 0;
                font-size: 24px;
            }
            
            .user-panel {
                justify-content: center;
            }
            
            /* 适配主内容区 */
            .main-content {
                margin-left: 80px;
                width: calc(100% - 80px);
            }
        }
        
        @media (max-width: 768px) {
            body {
                flex-direction: column;
            }
            
            .sidebar {
                position: relative; /* 在小屏幕上取消固定定位 */
                width: 100%;
                height: auto;
                padding: 15px 0;
            }
            
            .brand {
                padding: 0 20px 15px;
            }
            
            .nav-menu {
                display: flex;
                overflow-x: auto;
                padding: 0 10px 15px;
                flex-wrap: nowrap;
            }
            
            .nav-item {
                min-width: 70px;
                margin-bottom: 0;
                margin-right: 8px;
            }
            
            .user-panel {
                display: none;
            }
            
            .main-content {
                padding: 20px;
                margin-left: 0;
                width: 100%;
            }
            
            .header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .header-actions {
                margin-top: 15px;
                width: 100%;
                justify-content: space-between;
            }
            
            .btn {
                flex: 1;
            }
        }
        
        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .comment-item {
            animation: fadeIn 0.4s ease-out;
        }
        
        .stat-card {
            animation: fadeIn 0.5s ease-out;
        }
        .logout-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: rotate(15deg);
}

/* 响应式设计调整 */
@media (max-width: 992px) {
    .logout-btn {
        margin-left: auto;
    }
    
    .user-info {
        display: none;
    }
}

@media (max-width: 768px) {
    .logout-btn {
        position: absolute;
        right: 15px;
        top: 15px;
    }
}






#goodsDiv{
    width: 90%;
    margin: 30px auto;
    padding: 10px;
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    font-weight: 800;
    font-size: 20px;
}
#selectGds{
    width: 30%;
    border-radius: 20px;
    height: 30px;
    padding-left: 9px;
    margin-left: 10px;
}
#slctGdsBtn{
    width: 50px;
    height: 30px;
    border-radius: 10px;
    background-color:#00A2E8;
    border: none;
    color: white;
    font-weight: 700;
    margin-right: 100px;
}
#slctGdsBtn:hover{
    background-color: #0369a1;
}
#goodsType{
    width: 60px;
    height: 30px;
    border-radius: 20px;
    padding-left: 10px;
    margin-left: 10px;
}
#goodsTable{
    background: white;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    margin: auto;
    width: 90%;
    font-weight: 500;
    border-radius: 30px;
}
#goodsTable td{
    text-align: center;
    height: 40px;
}

#ordersTable{
	background: white;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    margin: auto;
    width: 90%;
    font-weight: 500;
    border-radius: 30px;
}
#ordersTable td{
	text-align: center;
    height: 40px;
}
a{
        	color:black;
        	list-style: none;
        }
        
        #pageBar{
        	width:100%;
        	margin:10px auto;
        	margin-top:20px;
        	text-align: center;
        }
        #pageBar a{
        	margin:10px 10px;
        }
        #pageBar a:hover{
        	text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
        	cursor: pointer;
        }
        #pageBar .activeColor{
        	color:#00A2E8;
        }
        .searchSpan{
        	display: block;
        	width: 90%;
    margin: 30px auto;
    padding: 10px;
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    font-weight: 800;
    font-size: 20px;
        }
        .searchInput{
        
        	width: 30%;
    		border-radius: 20px;
    		height: 30px;
    		padding-left: 9px;
    		margin-left: 10px;
        }
        .searchBtn{
        	margin-left: 20px;
        	background: linear-gradient(135deg, #4f46e5, #6366f1);
    		color: white;
    		border: none;
    		border-radius: 10px;
    		padding: 10px 24px;
    		font-weight: 500;
    		cursor: pointer;
    		box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
    		transition: all 0.3s ease;
    		position: relative;
    		overflow: hidden;
        }
        .allBtn{
        	margin-left: 20px;
        	background: linear-gradient(135deg, #4f46e5, #6366f1);
    		color: white;
    		border: none;
    		border-radius: 10px;
    		padding: 10px 24px;
    		font-weight: 500;
    		cursor: pointer;
    		box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
    		transition: all 0.3s ease;
    		position: relative;
    		overflow: hidden;
        }
        .searchBtn:hover {
    		transform: translateY(-2px);
    		box-shadow: 0 6px 12px rgba(79, 70, 229, 0.3);
		}
        .allBtn:hover {
    		transform: translateY(-2px);
    		box-shadow: 0 6px 12px rgba(79, 70, 229, 0.3);
		}
		
		.tableBox{
			width:90%;
			margin: 30px auto;
		}
		.userTable{
			width:100%;
			border: 1px solid #e2e8f0;
			text-align: center;
			border-radius: 16px;
			box-shadow: 0 10px 15px rgba(0, 0, 0, 0.03);
			height:50%;
			padding: 25px;
			margin: 30px auto;
		}
		.userTable th{
			padding:10px;
		}
		.userTable td{
			padding:8px;
		}
		.btnEdit, .btnDelete {
  			border: none;
  			padding: 4px 8px;
  			margin-right: 6px;
  			font-size: 12px;
  			cursor: pointer;
			}

		.btnEdit {
  			background: #e6f7ff;
  			color: #1890ff;
		}

		.btnDelete {
  			background: #fff2f0;
  			color: #ff4d4f;
		}
		#userPageBar{
        	width:90%;
        	margin:10px auto;
        	margin-top:20px;
        	text-align: center;
        }
        #userPageBar a{
        	margin:10px 10px;
        }
        #userPageBar a:hover{
        	text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
        	cursor: pointer;
        }
        #userPageBar .activeColor{
        	color:#00A2E8;
        }
        .simpleButton{
        	padding: 5px 20px;       
  			background-color: #0080FF; 
  			color: white;            
  			border: none;            
  			border-radius: 5px;       
  			font-size: 16px;          
  			cursor: pointer;         
  			transition: background-color 0.3s; 
        }
        .simpleButton:hover {
  			background-color: #006BFF;
		}
		.changeInfoInput {
    		width: 400px;
    		height: 30px;
    		display: inline-block;
    		border: 1px solid rgba(0, 0, 0, 0.2);
    		border-radius: 4px;
    		margin-top: 10px;
    		color: black;
    		padding: 5px;
    		padding-left: 25px;
    		font-size: 15px;
    		margin-bottom: 30px;
		}
		.titleInfo {
    		text-align: right;
    		display: inline-block;
    		width: 25%;
   			margin-right: 3%;
    		margin-left: 14%;
    		font-weight: 600;
		}
		img{
			height:100px;
			vertical-align: top;
		}
		.remainText{
			font-size:12px;
		}
		#addGoods{
			margin-top:30px;
			margin-left:50%
		}
		#addseller{
			padding: 5px 20px;          
  			border: none;            
  			border-radius: 5px;       
  			font-size: 16px;          
  			cursor: pointer;
  			margin-left:50%;
  			margin-top:20px;
		}
		hr{
        	border: none;
            height: 1px;
            background-color: rgba(0, 0, 0, 0.2);
            width: 100%;
            margin: 20px auto;  
        }
        #sellerPageBar {
   			width: 90%;
    		margin: 10px auto;
    		margin-top: 20px;
    		text-align: center;
		}
		#sellerPageBar a {
    		margin: 10px 10px;
		}
		#sellerPageBar a:hover{
        	text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
        	cursor: pointer;
        }
         .btnSave{
            border: none;
  			padding: 4px 8px;
  			margin-right: 6px;
  			font-size: 12px;
  			cursor: pointer;
  			background: #e6f7ff;
  			color: #1890ff;
        }
        .card-icon {
            font-size: 2rem;
            margin-bottom: 1rem;
        }
        .stat-card {
            transition: transform 0.3s;
            height: 100%;
        }
        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        .sidebar {
            min-height: 100vh;
        }
        .chart-container {
            position: relative;
            height: 300px;
        }
        .cardBody{
        	padding:50px;
        	display:inline-block;
        	text-align: center;
        }